package com.lottery.www.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author leo
 * @since 2023-05-23 12:43:08
 */
@Getter
@Setter
@TableName("order_details")
@ApiModel(value = "OrderDetails对象", description = "")
public class OrderDetails implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "detailid", type = IdType.AUTO)
    private Integer detailid;

    @TableField("order_no")
    private String orderNo;

    @TableField("order_type")
    private String orderType;

    @TableField("now_cycle_value")
    private String nowCycleValue;

    @TableField("buy_content")
    private String buyContent;

    @TableField("win_numbers")
    private String winNumbers;

    @TableField("buy_unit")
    private String buyUnit;

    @TableField("buy_times")
    private Integer buyTimes;

    @TableField("buy_number")
    private Integer buyNumber;

    @TableField("buy_money")
    private Float buyMoney;

    @TableField("pre_income")
    private Float preIncome;

    @TableField("real_income")
    private Float realIncome;

      @TableField(value = "update_time", fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

      @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;


}
